<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
  <title>动漫资源共享</title>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
  <!--[if IE 6]>
    <link rel="stylesheet" href="css/ie6.css" type="text/css" media="all" />
  <![endif]-->
  <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
  <script type="text/javascript" src="js/jquery-func.js"></script>
  <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type=text/javascript>
$(function(){
  $('#mobanwang_com li').hover(function(){
    $(this).children('ul').stop(true,true).show('slow');
  },function(){
    $(this).children('ul').stop(true,true).hide('slow');
  });
  
  $('#mobanwang_com li').hover(function(){
    $(this).children('div').stop(true,true).show('slow');
  },function(){
    $(this).children('div').stop(true,true).hide('slow');
  });
});
</script>
<style type="text/css">
* {
  margin:0;
  padding:0;
}
body {
  font-family:Arial, Verdana, Helvetica, sans-serif;
  font-family:"雅黑宋体", "微软雅黑", "新宋体", "宋体";
  font-size:1em;
  font-size:14px;
  text-align:left;
}
a {

  text-decoration:none;
}
ul {
  list-style:none;
}
#mobanwang_com {
  height:14px;
  font-size:1.3em;
  text-align:center;
}
#mobanwang_com a {
  font-size:0.65em;
}
#mobanwang_com li ul {
  display:none;
}
#mobanwang_com li ul li {
  float:none;
}
*html #mobanwang_com li ul li {
  display:inline;
}
</style>
</head>
<body>
<!-- Shell -->
<div id="shell">
  <!-- Header -->
  <div id="header">
    <h1 id="logo"><a href="index.php?c=index&m=index">Cartoon</a></h1>
    <div class="social">
      <span>FOLLOW US ON:</span>
      <ul>
          <li><a class="twitter" href="#">twitter</a></li>
          <li><a class="facebook" href="#">facebook</a></li>
          <li><a class="vimeo" href="#">vimeo</a></li>
          <li><a class="rss" href="#">rss</a></li>
      </ul>
    </div>
    
    <!-- Navigation -->
    <div class="container-fluid">
    <div class="container-fluid">
<!--nav开始-->
    <div id="navigation">
      <ul>
          <li role="presentation"><a style="color: blue" class="active" href="index.php?c=index&m=index">首页</a></li>
          <li role="presentation"><a style="color: blue"  href="index.php?c=index&m=listall&tid=1">日本</a></li>
          <li role="presentation"><a  style="color: blue"  href="index.php?c=index&m=listall&tid=2">大陆</a></li>
          <li role="presentation"><a  style="color: blue"  href="index.php?c=index&m=listall&tid=3">欧美</a></li>
          <li role="presentation"><a style="color: blue"   href="index.php?c=index&m=listall&tid=4">其它</a></li>
      </ul>
    </div>
    <!-- end Navigation -->
    
    <!-- Sub-menu -->
        <div id="sub-navigation">
    
     <p class="text-left"> 
      <ul> 
           <li><a href="#">欢迎<?php
              @session_start();
              if(isset($_SESSION["user"]))
                {echo "  ".$_SESSION["user"]."  ";
              }
                 else
                  { echo "您";}
                  ?>访问本站
        </a></li>
      <?php 
         if(isset($_SESSION["user"])){
      ?>
    
        <ul id="mobanwang_com" class="first-menu">
  <li><a href="#" target="_self">用户中心</a>
    <ul style="display: none;" id="subMusic" class="second-menu">
      <li><a href="index.php?c=index&m=showuser" class="mobanwang" target="_self">查看个人信息</a>
      </li>
      <li><a href="index.php?c=index&m=esclogin" class="mobanwang" target="_self">注销</a>
      </li>


      

          </ul>
        </li>
        <?php
      }else{
        ?> 
        <li><a  style="color: blue"   href="index.php?c=index&m=adminlist">后台管理</a></li>
        <li><a  style="color: blue"   href="index.php?c=index&m=login">登录</a></li>
        <li><a style="color: blue"  href="index.php?c=index&m=reguser">注册</a></li>
      <?php
    }
      ?>
     </p>
            <div id="search">
                <form action="index.php?c=index&m=search" method="post" name="key" id="key" accept-charset="utf-8">
                    <label style="color: blue"  for="search-field">搜索</label>
                    <input name="key" type="text" id="key" >
                    <input type="submit" style="color: blue"  value="search" class="search-button" />
                </form>
            </div>

    </div>
    <!-- end Sub-Menu -->
    
  </div>
  <!-- end Header -->
  
  <!-- Main -->
  <div id="main">
    <!-- Content -->
    <div id="content">
<!-- Footer -->
  <div id="footer">
    <p>
      <a href="index.php?c=index&m=index">首页</a> <span>|</span>
      <a href="index.php?c=index&m=listall&tid=1">日本</a> <span>|</span>
      <a href="index.php?c=index&m=listall&tid=2">大陆</a> <span>|</span>
      <a href="index.php?c=index&m=listall&tid=3">欧美</a> <span>|</span>
      <a href="index.php?c=index&m=listall&tid=4">其它</a> <span>|</span>
        </p>
  </div>
  <!-- end Footer -->
</div>
</body>
</head>
</html>